using System;

namespace MallInteractiveMap.DTO
{
    [Serializable()]
    public class DTOMall
    {
        #region Field & Properties
        private int _Id;

        public int Id
        {
            get { return _Id; }
            set { _Id = value; }
        }

        private string _Name;

        public string Name
        {
            get { return _Name; }
            set { _Name = value; }
        }

        private Byte[] _Logo;

        public Byte[] Logo
        {
            get { return _Logo; }
            set { _Logo = value; }
        }

        private string _Address;

        public string Address
        {
            get { return _Address; }
            set { _Address = value; }
        }

        private string _Telephone;

        public string Telephone
        {
            get { return _Telephone; }
            set { _Telephone = value; }
        }

        private string _Email;

        public string Email
        {
            get { return _Email; }
            set { _Email = value; }
        }

        private string _ContactPerson;

        public string ContactPerson
        {
            get { return _ContactPerson; }
            set { _ContactPerson = value; }
        }

        private string _Description;

        public string Description
        {
            get { return _Description; }
            set { _Description = value; }
        }

        private DateTime _LastUpdated;

        public DateTime LastUpdated
        {
            get { return _LastUpdated; }
            set { _LastUpdated = value; }
        }

        public bool IsNew { get; set; }

        public string FileName { get; set; }

        public string FileType { get; set; }
        #endregion

        #region Constructors
        public DTOMall()
        { }

        public DTOMall(int Id, string Name, Byte[] Logo, string Address, string Telephone, string Email, string ContactPerson, string Description, DateTime LastUpdated)
        {
            this.Id = Id;
            this.Name = Name;
            this.Logo = Logo;
            this.Address = Address;
            this.Telephone = Telephone;
            this.Email = Email;
            this.ContactPerson = ContactPerson;
            this.Description = Description;
            this.LastUpdated = LastUpdated;
        }

        #endregion
    }
}
